﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EntityFrameworkContrib.PostSharp4EF;

namespace EFContrib.PS4EF.Tst.ComplexType
{
    [Poco("ComplexTypesTestEntities")]
    public class Person
    {
        public int PersonID { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public Address Address { get; set; }
    }

    [Poco("ComplexTypesTestEntities")]
    public class Address
    {
        public string City { get; set; }
        public string Street { get; set; }
        public string PostalCode { get; set; }
        public NestedComplexType NestedComplexType { get; set; }
    }

    [Poco("ComplexTypesTestEntities")]
    public class NestedComplexType
    {
        public int A { get; set; }
        public int B { get; set; }

    }
}
